// Prevents additional console window on Windows in release, DO NOT REMOVE!!
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
use tauri::Builder;
mod bridge;
mod system_tray;

fn main() {
    bridge::invoke::invoke_handler(Builder::default())
        .system_tray(system_tray::create_system_tray())
        .on_system_tray_event(system_tray::listen_system_tray_event)
        .run(tauri::generate_context!())
        .expect("error while running tauri application");
}
